<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>js技巧</title>
</head>
<body>
    <input id="focus" onfocus="myFunction()" />测试
</body>
<!-- <script src="./去重.js"></script> -->
<!-- <script src="./url获取参数并转为对象.js"></script>
<script src="./检查对象是否为空.js"></script>
<script src="./反转字符串.js"></script> -->
<!-- <script src="./随机生成16进制.js"></script> -->
<!-- <script src="./检查当前选项卡是否在后台.js"></script> -->
<!-- <script src="./检测元素是否处于焦点.js"> -->
<!-- <script src="./检查设备类型.js"> -->
    <!-- <script src="./文字复制到剪贴板.js"></script> -->
    <!-- <script src="./获取选定的文本.js"></script> -->
    <!-- <script src="./查询某天是否为工作日.js"></script> -->
    <!-- <script src="./转换华氏摄氏.js"></script> -->
    <!-- <script src="./两日期之间相差的天数.js"></script> -->
    <script src="./将RGB转换为16进制.js"></script>
    <!-- <script src="./计算数组平均值.js"></script> -->
</script>
</html>